package yt;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import yt.MajorClass.entity.Xgk;
import yt.MajorClass.mapper.XgkMapper;

/**
 * @author yt1105
 * @version 1.0
 */
@SpringBootTest
public class Name {
    @Autowired
    XgkMapper xgkMapper;
    @Test
    void test(){

        QueryWrapper<Xgk> wrapper = new QueryWrapper<>();

        wrapper.select("zymc","ml").like("xlcc","本科");
        xgkMapper.selectList(wrapper).forEach(System.out::println);


    }
}
